Parametric Query Optimization for Linear and Piecewise Linear Cost Functions
نویسندگان
چکیده
The cost of a query plan depends on many parameters, such as predicate selectivities and available memory, whose values may not be known at optimization time. Parametric query optimization (PQO) optimizes a query into a number of candidate plans, each optimal for some region of the parameter space. We first propose a solution for the PQO problem for the case when the cost functions are linear in the given parameters. This solution is minimally intrusive in the sense that an existing query optimizer can be used with minor modifications: the solution invokes the conventional query optimizer multiple times, with different parameter values. We then propose a solution for the PQO problem for the case when the cost functions are piecewise-linear in the given parameters. The solution is based on modification of an existing query optimizer. This solution is quite general, since arbitrary cost functions can be approximated to piecewise linear form. Both the solutions work for an arbitrary number of parameters.
منابع مشابه
Convex parametric piecewise quadratic optimization: Theory, Algorithms and Control Applications
In this paper we study the problem of parametric minimization of convex piecewise quadratic functions. Our study provides a unifying framework for convex parametric quadratic and linear programs. Furthermore, it extends parametric programming algorithms to problems with piecewise quadratic cost functions, paving the way for new applications of parametric programming in dynamic programming and o...
متن کاملDesign and Analysis of Parametric Query Optimization Algorithms
Query optimizers normally compile queries into one optimal plan by assuming complete knowledge of all cost parameters such as selectivity and resource availability. The execution of such plans could be sub-optimal when cost parameters are either unknown at compile time or change significantly between compile time and runtime [Loh89, GrW89]. Parametric query optimization [INS+92, CG94, GK94] opt...
متن کاملOn Multi-parametric Nonlinear Programming and Explicit Nonlinear Model Predictive Control
A numerical algorithm for approximate multi-parametric nonlinear programming is developed. It allows approximate solutions to nonlinear optimization problems to be computed as explicit piecewise linear functions of the problem parameters. In control applications such as nonlinear constrained model predictive control this allows efficient online implementation in terms of an explicit piecewise l...
متن کاملLocal Smooth Representations of Parametric Semiclosed Polyhedra with Applications to Sensitivity in Piecewise Linear Programs
In this paper, we establish the equivalence between the half-space representation and the vertex representation of a smooth parametric semiclosed polyhedron. By virtue of the smooth representation result, we prove that the solution set of a smooth parametric piecewise linear program can be locally represented as a finite union of parametric semiclosed polyhedra generated by finite smooth functi...
متن کاملIEOR 269 , Spring 2010 Integer Programming and Combinatorial Optimization
3 Non-linear Objective functions 4 3.1 Production problem with set-up costs . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3.2 Piecewise linear cost function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.3 Piecewise linear convex cost function . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.4 Disjunctive constraints . . . . . . . . . . . . . . . . . . . . . ...
متن کامل